// ============================== 导入依赖 ============================== //

// ============================== 导出常量 ============================== //

export default {
  /**
   * 引擎配置
   */
  ENGINE: {
    EngineIP: 'http://192.168.139.195:8083', // 引擎ip地址
    key: 'wSryzKApfH8y',
  },

  /**
   * 默认图层
   */
  DEFAULT: 'YueShengGJ',

  /**
   * 设备图层
   */
  ID: 1,

  /**
   * 图层配置
   */
  LAYER: {
    name: '默认图层',
    jsType: 'Models.Obj',
    layerName: 'active',
  },

  /**
   * 模型配置
   */
  MODEL: {
    jsType: 'Models.Obj',
    opacity: 1,
    repeatRate: '0.3,0.3,0.3',
  },

  /**
   * 相机点位
   */
  POINT: [120.16662205079625, 30.151208193327772, 158],

  /**
   * 目标点位
   */
  TARGET: [120.16662604006216, 30.149785196085858, -1645],

  /**
   * 楼层
   */
  FLOOR: [
    {
      id: 30,
      name: '30 层',
      hide: ['Louding', '1Cengdating', 'Guangzhu'],
      show: ['29Ceng', '30Ceng', 'ZhongJianceng', '1Cengdating_1'],
    },
    {
      id: 29,
      name: '29 层',
      hide: ['Louding', '30Ceng', '1Cengdating', 'Guangzhu'],
      show: ['29Ceng', 'ZhongJianceng', '1Cengdating_1'],
    },
    {
      id: 1,
      name: '1 层',
      hide: ['29Ceng', 'ZhongJianceng', '1Cengdating_1', 'Louding', '30Ceng', 'Guangzhu'],
      show: ['1Cengdating'],
    },
  ],

  /**
   * 外部楼层
   */
  FLOOR_OUTER: [
    {
      id: 100,
      name: '大楼',
      hide: [],
      show: ['Louding', '1Cengdating', 'Guangzhu', '29Ceng', '30Ceng', 'ZhongJianceng', '1Cengdating_1'],
      point: [120.16679451425905, 30.152749698546955, 106.92424011230469],
      target: [120.16681752387603, 30.151785371518613, 66.23512268066406],
    },
    {
      id: 30,
      name: '30 层',
      hide: ['Louding', '1Cengdating', 'Guangzhu'],
      show: ['29Ceng', '30Ceng', 'ZhongJianceng', '1Cengdating_1'],
      point: [120.16662205079625, 30.151208193327772, 158],
      target: [120.16662604006216, 30.149785196085858, -1645],
    },
    {
      id: 29,
      name: '29 层',
      hide: ['Louding', '30Ceng', '1Cengdating', 'Guangzhu'],
      show: ['29Ceng', 'ZhongJianceng', '1Cengdating_1'],
      point: [120.1666605769516, 30.151194225641738, 142.39805603027344],
      target: [120.16666418011519, 30.149909694288933, -1485.1866455078125],
    },
    {
      id: 1,
      name: '1 层',
      hide: ['29Ceng', 'ZhongJianceng', '1Cengdating_1', 'Louding', '30Ceng', 'Guangzhu'],
      show: ['1Cengdating'],
      point: [120.16656391870359, 30.15134484728048, 99.00531005859375],
      target: [120.1665664220851, 30.15045174328549, -1032.60791015625],
    },
  ],

  /**
   * 内部楼层
   */
  FLOOR_INNER: [
    {
      id: 30,
      name: '30 层',
      hide: ['Louding', '1Cengdating', 'Guangzhu', 'chewei', 'Cheliu', 'malu'],
      show: ['29Ceng', '30Ceng', 'ZhongJianceng', '1Cengdating_1'],
      point: [120.16662205079625, 30.151208193327772, 158],
      target: [120.16662604006216, 30.149785196085858, -1645],
    },
    {
      id: 29,
      name: '29 层',
      hide: ['Louding', '30Ceng', '1Cengdating', 'Guangzhu', 'chewei', 'Cheliu', 'malu'],
      show: ['29Ceng', 'ZhongJianceng', '1Cengdating_1'],
      point: [120.1666605769516, 30.151194225641738, 142.39805603027344],
      target: [120.16666418011519, 30.149909694288933, -1485.1866455078125],
    },
    {
      id: 1,
      name: '1 层',
      hide: ['29Ceng', 'ZhongJianceng', '1Cengdating_1', 'Louding', '30Ceng', 'Guangzhu', 'chewei', 'Cheliu', 'malu'],
      show: ['1Cengdating'],
      point: [120.16656391870359, 30.15134484728048, 99.00531005859375],
      target: [120.1665664220851, 30.15045174328549, -1032.60791015625],
    },
  ],
}
